package xyz.yeidi.service.api;

import xyz.yeidi.pojo.Food;
import xyz.yeidi.pojo.Orderdetail;

import java.util.List;

/**
 * @Author JIP
 * @Date 2021-08-08 10:42
 * @Version 1.0
 * @Describe :
 */
public interface OrderDetailService {
    //插入数据
    public Integer addOrderDetail(Orderdetail orderdetail);

    //通过orderId 关联food表查询到所有的食物
    public List<Food> getFoodsByOrderId(Integer orderId);
}
